#ifndef _TCPC_H_
#define _TCPC_H_
#include "factory.h"
class tcpc : public xbase{
public:
	virtual int  open(bool run, const char* ip,short port);
	virtual void close();
	virtual int  write(const char * buf,size_t len);
	virtual int  read(char* buf, size_t len);
};
#endif








